package com.brian.app_core_libstarter.application.util;

import com.brian.app_core_libstarter.application.task.ThreadTask;

/**
 * @ProjectName: PathFinder
 * @Package: com.brian.app_core_libstarter.application.util
 * @ClassName: TaskUtil
 * @Description: java类作用描述
 * @Author: Brian
 * @CreateDate: 2019/11/24 1:39
 * @UpdateUser: Brian
 * @UpdateDate: 2019/11/24 1:39
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
public class TaskUtil {

    public static void checkNull(ThreadTask threadTask){
        if(null == threadTask) throw new RuntimeException("无法添加 空 task");
    }
}
